package com.cskaoyan.shopping.converter;

import com.cskaoyan.shopping.dal.entitys.Item;
import com.cskaoyan.shopping.dto.ProductInfoDto;
import org.mapstruct.Mapper;
import org.mapstruct.Mappings;

/**
 * @author：HeXiangZhi
 * @data: 2022/12/4 16:11
 * @Description: TODO
 */
@Mapper(componentModel = "spring")
public interface ItemConverter {
    @Mappings({})
    ProductInfoDto itemToProductInfoDto(Item item);
}
